package com.qfedu.mavenk.utils;


import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.datasource.pooled.PooledDataSourceFactory;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc: druid库的连接，自定义的使用Druid数据库连接技术
 * @datatime: 2022/10/11 18:17
 */
public class IdruidDataSource extends PooledDataSourceFactory {

    public IdruidDataSource(){
        //将原来类的数据库连接对象重新指向DruidDataSource
        this.dataSource = new DruidDataSource();
    }
}
